package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxFamilySocietyCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxFamilySocietyResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxFamilySocietyUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxFamilySocietyEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzdxFamilySocietyConvert {

    JzdxFamilySocietyConvert INSTANCE = Mappers.getMapper(JzdxFamilySocietyConvert.class);

    JzdxFamilySocietyResultDTO convert(JzdxFamilySocietyEntity s);

    JzdxFamilySocietyEntity create(JzdxFamilySocietyCreateDTO s, Long tenantId);

    JzdxFamilySocietyEntity update(JzdxFamilySocietyUpdateDTO s);
}
